import { cn } from "@/lib/utils";
import Link from "next/link";

export default function NavItemLink({
  href,
  children,
  className,
}: {
  href: string;
  children: React.ReactNode;
  className?: string;
}) {
  return (
    <Link
      className={cn(className, "hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium")}
      href={href}
    >
      {children}
    </Link>
  );
}
